package Tk01;

public class Account {
    private double money;
    private String carId;

    public Account(double money, String carId) {
        this.money = money;
        this.carId = carId;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public double getMoney() {
        return money;
    }

    public String getCarId() {
        return carId;
    }
}
